 
		 **************************************************************
		 **															 **
		 ** Paper: Freedom of Foreign Movement and Human Trafficking **
		 **														     **
		 ** Authors: Sam R. Bell & Richard W. Frank 				 **
		 **															 **
		 ** Date: May 11, 2021										 **
		 **															 **
		 ** Task: Table 3-Bayesian Model Averaging					 **
		 **															 **
		 **************************************************************
 
									 
		clear
		version 16.1
		set seed 1234

		** change working directory
		cd "~"
		use "ht_merged.dta"
		 
		merge 1:1 ccode year using "ht_eba_ivs.dta"
		drop _merge
		rename ccode cow
		merge 1:1 cow year using "CIRI 2011.dta"	
		rename cow ccode	
		gen homi =ln(homicides)
		
		sort ccode year
		tsset ccode year
		gen fsource=f.source
		
		************
		*** CIRI ***
		
		bma fsource fm W_fm_con12  interact_W_C_f12 gdp_ln pop_ln  ///
		   , auxiliary(KOFGI lp_muslim80 rle cpi infant_mortality ///
		   europe mena homi food_bev polity2 overall3p EU physint)  
 
		*************
		*** V-DEM ***
	 
		bma fsource v2clfmove W_vfomov_con12 interact_W_Vf12 gdp_ln pop_ln  ///
		  , auxiliary(KOFGI lp_muslim80 rle cpi infant_mortality europe ///
		  mena homi food_bev polity2 overall3p EU physint)  
 
